package com.wsz.eduservice.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName edu_resource
 */
@TableName(value ="edu_resource")
@Data
public class Resource implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    /**
     * 
     */
    private String courseId;

    /**
     * 
     */
    private String url;

    /**
     * 
     */
    private Long version;

    /**
     * 
     */
    private Long size;

    /**
     * 
     */
    private String title;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}